package redis

// redis keys

const (
	Prefix             = "bluebell:"
	KeyPostTimeZSet    = "post:time"   // zset;帖子及其发布时间
	KeyPostScoreZSet   = "post:score"  // zset； 帖子及其评分
	KeyPostVotedZSetPF = "post:voted:" //  记录用户及投票类型，参数：post_id
	KeyCommunitySetPF  = "community:"  // set;保存每个分区下帖子的id

)

func getRedisKey(key string) string {
	return Prefix + key
}
